package com.wwl.pojos;

import java.util.Date;

/**
 * Posts entity. @author MyEclipse Persistence Tools
 */

public class Posts implements java.io.Serializable {

	// Fields

	private Long postid;
	private String title;
	private String summary;
	private String postcontent;
	private Date datecreated;
	private Date datemodified;
	private Long userid;
	private Long categoryid;
	private Long ispublished;
	private Long iscommentenabled;
	private Long clicks;

	// Constructors

	/** default constructor */
	public Posts() {
	}

	/** full constructor */
	public Posts(String title, String summary, String postcontent,
			Date datecreated, Date datemodified, Long userid, Long categoryid,
			Long ispublished, Long iscommentenabled, Long clicks) {
		this.title = title;
		this.summary = summary;
		this.postcontent = postcontent;
		this.datecreated = datecreated;
		this.datemodified = datemodified;
		this.userid = userid;
		this.categoryid = categoryid;
		this.ispublished = ispublished;
		this.iscommentenabled = iscommentenabled;
		this.clicks = clicks;
	}

	// Property accessors

	public Long getPostid() {
		return this.postid;
	}

	public void setPostid(Long postid) {
		this.postid = postid;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getPostcontent() {
		return this.postcontent;
	}

	public void setPostcontent(String postcontent) {
		this.postcontent = postcontent;
	}

	public Date getDatecreated() {
		return this.datecreated;
	}

	public void setDatecreated(Date datecreated) {
		this.datecreated = datecreated;
	}

	public Date getDatemodified() {
		return this.datemodified;
	}

	public void setDatemodified(Date datemodified) {
		this.datemodified = datemodified;
	}

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Long getCategoryid() {
		return this.categoryid;
	}

	public void setCategoryid(Long categoryid) {
		this.categoryid = categoryid;
	}

	public Long getIspublished() {
		return this.ispublished;
	}

	public void setIspublished(Long ispublished) {
		this.ispublished = ispublished;
	}

	public Long getIscommentenabled() {
		return this.iscommentenabled;
	}

	public void setIscommentenabled(Long iscommentenabled) {
		this.iscommentenabled = iscommentenabled;
	}

	public Long getClicks() {
		return this.clicks;
	}

	public void setClicks(Long clicks) {
		this.clicks = clicks;
	}

}